package com.hopes.bizz.risk.hid.dto;


import com.hopes.bizz.common.core.validate.group.AuditGroup;
import com.hopes.bizz.common.core.validate.group.AuditPassGroup;
import com.hopes.bizz.common.core.validate.group.AuditRejectGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @author lyb
 * @version 1.0
 * @date 2023/3/16 14:34
 */
@Data
public class RiskHandleHidConfirmDTO implements Serializable {
    private static final long serialVersionUID = 4274967699819789474L;

    @NotNull(message = "主键标识为必填项", groups = {AuditGroup.class})
    private Long id;

    /**
     * 整改方式
     */
    @NotNull(message = "整改方式为必填项", groups = {AuditPassGroup.class})
    private Integer correctiveWay;
    /**
     * 整改措施
     */
    @NotBlank(message = "整改措施为必填项", groups = {AuditPassGroup.class})
    private String correctiveDesc;

    /**
     * 整改建议
     */
    @NotBlank(message = "整改建议为必填项", groups = {AuditPassGroup.class})
    private String correctiveAdviceDesc;
    /**
     * 整改期限
     */
    @NotNull(message = "整改期限为必填项", groups = {AuditPassGroup.class})
    private Date correctiveDeadline;

    /**
     * 负责人
     */
    @NotBlank(message = "负责人为必填项", groups = {AuditPassGroup.class})
    private String principal;

    /**
     * 处理结果
     */
    @NotNull(message = "处理结果为必填项", groups = {AuditGroup.class})
    private Integer handleResult;

    /**
     * 审核说明
     */
    @NotBlank(message = "审核说明为必填项", groups = {AuditRejectGroup.class})
    private String handleResultDesc;
}
